function numcell=cell2num(cellmat); 
%   function numcell=cell2num(cellmat); 
%   Converts a cell array into a num matrix 
%   See also cell2num 
%   AJ 6/3/03
[n,m]=size(cellmat); 
cellstr=char(cellmat); 
numcell=str2num(cellstr); 
numcell=reshape(numcell,n,m); 